<html>
<head>
<TITLE>Marsems System</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/style.css" type=text/css rel=stylesheet>
<script language="javascript" src="../js/Validation.js" type="text/JavaScript"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000">

<table width="100%" cellspacing="1" cellpadding="4">
  <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
    <td colspan="4" align="left">&nbsp;&nbsp;<font color="#FF0000">Product Files : </font>
    	<form name="form1" method="post" action="" enctype="multipart/form-data">
	    	<input name="batchFile" type="file" size="45">
	       	<input type="submit" name="Submit" value="Upload">
	       	<input name="action" type="hidden" value="batchFile">
	       	<input name="menuGid" type="hidden" id="menuGid" value="{$menuGid}">
	      	<input name="menuid" type="hidden" id="menuid" value="{$menuid}">
      	</form>
    </td>
   </tr>
  <tr bgcolor="#E4E4E4"> 
    	<td colspan="5" >&nbsp;&nbsp;Process Results</td>
 
  </tr>
  <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
    <td colspan="4" align="center"><font color="#FF0000">{$error_message}</font></td>
  </tr>
	{foreach name=info item=product key=key from=$arrCheckResult}
	 	<tr> 
	    	<td colspan="2">&nbsp;&nbsp;[ <b>{$smarty.foreach.info.iteration}</b> ] <b>{$key}</b></td>
	   	</tr>
	   	{foreach item=data from=$product}
		   	<tr> 
	    		<td width="50">&nbsp;&nbsp;</td>
	    		<td>&nbsp;&nbsp;{$data}</td>
	   		</tr>
   		{/foreach}
	{/foreach}
   
   {if $checkOK =='yes'}
	   <tr bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#E9EDED';" onMouseOut="this.style.backgroundColor='#FFFFFF'"> 
	    <td colspan="4" align="center">
			<form name="fm2" method="post" action="">
				<input name="batchFile" type="hidden" value="{$batchFile}">
				<input name="menuGid" type="hidden" id="menuGid" value="{$menuGid}">
	      		<input name="menuid" type="hidden" id="menuid" value="{$menuid}">
				
				<input type="submit" name="Submit" value="Confirm Submit">
			</form>
		</td>
	  </tr>
  {/if}
</table>


</body>
</html>